home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 45 / PC Gamer IT CD 45 2-2.iso / SMANDEMO / data1.cab / Program_Executable_Files / data / scripts / weapons / shadgun.ws < prev    next >
Text File  |  1999-07-12  |  2KB  |  47 lines

  1. $name "Shadowgun"
  2.  
  3. // Shadowgun's minimum range is hardcoded at 40, its maximum range is determined by 40 + (weaponrange*power up level*vel)
  4. // range at Shadowlevel 0 is (40x32) = 1280 (5 blocks)
  5. //       at Shadowlevel 5 is (40x32) + (5x8x32) = 2560 (10 blocks)
  6. //       at Shadowlevel 10 is (40x32) + (10x8x32)= 3840 (15 blocks)
  7.  
  8. $properties
  9. {
  10.     $collision_radius    =    15
  11.     $collision_flags    =     COLLIDE_WORLD,COLLIDE_ENEMYS,COLLIDE_INSTANCE
  12.     $blast_radius        =    200
  13.     $blast_flags        =     BLAST_EXPAND
  14.     $damage                =    15
  15.     $blast_damage        =    0
  16.     $blast_time            =    10
  17.     $min_velocity        =    32
  18.     $max_velocity        =    32
  19.     $velocity_flags        =    USE_DEFAULT_VELOCITY,USE_MOMENTUM
  20.     $physics_flags        =    PHYS_NONE
  21.     $friction            =    0.94
  22.     $weapon_class        =    _WP_CLASS_SHADOW
  23.     $weapon_range        =    8
  24.  
  25.     $shadgun_damage_multiplier        = 0
  26.  
  27.  
  28.     $shadgun_level_one            = 20
  29.     $shadgun_level_two            = 30
  30.     $shadgun_level_three            = 40
  31.     $shadgun_level_four            = 50
  32.     $shadgun_level_five            = 60
  33.     $shadgun_level_six            = 70
  34.     $shadgun_level_seven            = 80
  35.     $shadgun_level_eight            = 90
  36.     $shadgun_level_nine            = 100
  37.     $shadgun_level_ten            = 110
  38. }
  39.  
  40. $custom_sounds
  41. {
  42.     $sound_shadgun_fire_less_half    =    "data\audio\sfx\weapons\shadgun\sgfire.wav"
  43.     $sound_shadgun_fire_more_half    =    "data\audio\sfx\weapons\shadgun\sgfire2.wav"
  44.     $sound_shadgun_hit_wall            =    "data\audio\sfx\weapons\shadgun\hitwall.wav"
  45.     $sound_shadgun_death_loop        =    "data\audio\sfx\weapons\shadgun\loop1.wav"
  46.     $sound_shadgun_mega_loop        =    "data\audio\sfx\weapons\shadgun\fpwraith.wav"
  47. }